<?php
namespace App\model;

use Illuminate\Database\Eloquent\Model;

class Attendance extends Model
{
	public $table='attendance';
	/**
	*获取出勤信息数据
	*作者：
    */
    public function getdat(){
		 return $this
		->join('user','user.use_id', '=', 'attendance.use_id')
		->join('att_info','att_info.att_id', '=', 'attendance.att_id')
		->paginate(3);
    }

}